<?php
include("../../share/config.php");
$id = $_GET['postid'];
$sql = "DELETE from notice where id = '$id'";

$insert = mysqli_query($conn,$sql);  
mysqli_close($conn);
Header("Location:../../pages/admin/notice.php");

?>